import type {
  SysClientResponse,
  SysColumnsResponse,
} from '#/api/kingtown/types';

import { requestClient } from '#/api/request';

export async function listColumnsApi() {
  return requestClient.get<SysColumnsResponse[]>('/field/columns');
}

export async function listClientsApi() {
  return requestClient.get<SysClientResponse[]>('/client/list');
}
